﻿using System.Collections.Generic;
using DomainModel;

namespace Services.Abstract
{
    public interface IService<T> where T : EntityBase
    {
        void Save(T entity);
        void Update(T entity);
        void Delete(T entity);
        T GetById(long id);
        List<T> GetAll();
    }
}
